import { ApiProperty } from '@nestjs/swagger'
import { IsOptional, IsString } from 'class-validator'

export class QueryVideoTagDto {
  @ApiProperty({ description: '标签名称', required: false })
  @IsOptional()
  @IsString({ message: '标签名称必须是字符串' })
  tagName?: string
}
